package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 证书管理对象 sys_certificate_info
 * 
 * @author ruoyi
 * @date 2023-10-18
 */
public class SysCertificateInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long certificateId;

    /** 单位 */
    @Excel(name = "单位")
    private String companyName;

    /** 证书类型 */
    @Excel(name = "证书类型")
    private String certificateType;

    /** 截止时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "截止时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date certificateDeadline;

    /** 校验类型 */
    @Excel(name = "校验类型")
    private String certificateCheckType;

    /** host/mac地址 */
    @Excel(name = "host/mac地址")
    private String certificateCheckAddress;

    /** 证书状态 */
    @Excel(name = "证书状态")
    private String certificateCheckStatus;

    /** 生成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "生成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date certificateCreateTime;

    /** 归属的项目id */
    @Excel(name = "归属的项目id")
    private Long projectId;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    public void setCertificateId(Long certificateId) 
    {
        this.certificateId = certificateId;
    }

    public Long getCertificateId() 
    {
        return certificateId;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCertificateType(String certificateType) 
    {
        this.certificateType = certificateType;
    }

    public String getCertificateType() 
    {
        return certificateType;
    }
    public void setCertificateDeadline(Date certificateDeadline) 
    {
        this.certificateDeadline = certificateDeadline;
    }

    public Date getCertificateDeadline() 
    {
        return certificateDeadline;
    }
    public void setCertificateCheckType(String certificateCheckType) 
    {
        this.certificateCheckType = certificateCheckType;
    }

    public String getCertificateCheckType() 
    {
        return certificateCheckType;
    }
    public void setCertificateCheckAddress(String certificateCheckAddress) 
    {
        this.certificateCheckAddress = certificateCheckAddress;
    }

    public String getCertificateCheckAddress() 
    {
        return certificateCheckAddress;
    }
    public void setCertificateCheckStatus(String certificateCheckStatus) 
    {
        this.certificateCheckStatus = certificateCheckStatus;
    }

    public String getCertificateCheckStatus() 
    {
        return certificateCheckStatus;
    }
    public void setCertificateCreateTime(Date certificateCreateTime) 
    {
        this.certificateCreateTime = certificateCreateTime;
    }

    public Date getCertificateCreateTime() 
    {
        return certificateCreateTime;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("certificateId", getCertificateId())
            .append("companyName", getCompanyName())
            .append("certificateType", getCertificateType())
            .append("certificateDeadline", getCertificateDeadline())
            .append("certificateCheckType", getCertificateCheckType())
            .append("certificateCheckAddress", getCertificateCheckAddress())
            .append("certificateCheckStatus", getCertificateCheckStatus())
            .append("certificateCreateTime", getCertificateCreateTime())
            .append("createTime", getCreateTime())
            .append("projectId", getProjectId())
            .append("comment", getComment())
            .toString();
    }
}
